Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Share & grow the world's knowledge!

We want to connect the people who have knowledge to the people who need it, to bring together people with different perspectives so they can understand each other better, and to empower everyone to share their knowledge.

What's your question?

Discy Latest Questions

  • 0

There’s quite good doc of using *ngIf in Angular: https://angular.io/api/common/NgIf But, is that possible to have *ngIf async variable and multiple checks on that? Something like: <div *ngIf="users$ | async as users && users.length > 1"> ... </div>Of course, it’s possible to use nested ...

  • 0

I would like to call f2 after f1 has been completed. f1 function can be synchronous or asynchronous. I need an example that work in both cases. I have found a solution, using a Promise and a timer: global() { this.f1().then(res => { ...

  • 0

I have an Angular 1.x directive that appends an element. In short: app.directive('mydirective', function() { template: '<ng-transclude></ng-transclude>', link: function(el) { var child = angular.element("<div/>"); el.append(child); }I can migrate this directive to Angular ...

  • 0

I have created an Angular project using angular-cli (version : 1.0.0-beta.28.3). I run the application in development environment using “npm start” and the application runs fine in “localhost:4200”. Now to replicate production deployment, I wanted to run the application in ...

close