[AngularJS] Protractor E2E test scripts are passing inconsistently under Mocha framework with classic chain promissing concepts

2018-02-12 Thread barat subramanian
Protractor E2E test scripts using Mocha BDD framework does not pass every time (pass rate is very less, inconsistent) when we run both in local and Sauce Labs. We are using classic promise chaining concept instead of promise manager in our E2E test scripts We reffered here https://github.co

[AngularJS] Dividing the value in a textbox

2018-02-12 Thread Rakhee Menon
Hi Everyone, When user enters a value in a textbox ,the value should get divided and result should be displayed in two textboxes.. For eg:user enters IGST=18 , cgst and sgst textboxes should be having values as 9 and 9.. I tried it but the divided value is not displayed .It just prints 18 only.

[AngularJS] Re: Adding login page as the login page

2018-02-12 Thread Rakhee Menon
Thanks :-) On Sunday, February 11, 2018 at 5:17:21 PM UTC+5:30, Sander Elias wrote: > > Hi Rakhee, > > You need to add a top-level router. It only has 2 routes. Login, and dash. > I assume, you now have login as a route inside your dash. This makes it > rather difficult to arrange what you want.

[AngularJS] Re: Dividing the value in a textbox

2018-02-12 Thread Sander Elias
Hi Rakhee, Divide by what? Make a stackblitz or something to illustrate your issue, and it becomes so much easier to help you! Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion"

[AngularJS] Re: Displaying $scope variable in page

2018-02-12 Thread Sander Elias
Hi Pati, You did not set up an Angular app, neither did you enable it. Have a look at this plunk .(PS, the in-page script should be a separate js file, I did it like this to make it easier to grok) If you have more questions, don't hesitat

[AngularJS] Re: BreadCrumbs not seen

2018-02-12 Thread Sander Elias
Hi Rakhee, There is nothing in your message that allows me to help you. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to ang

[AngularJS] Re: ng2-file-upload custom filter with observable

2018-02-12 Thread Sander Elias
Hi Amar, I assume your function needs to return an observable of type boolean? Based on this assumption, this should do the trick: function fileTemplateFilter() { return Observable.create(observable => { this.uploader.options.filters.push({ name: "fileTemplateFilter", fn: (item, options) => { var