[AngularJS] Re: Angular 2 forms validation and AoT

2016-11-24 Thread Kopleman
Thank you for help. -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.co

Re: [AngularJS] Re: Data binding inside JavaScript string, not happening.

2016-11-24 Thread Andrei Zhitkov
Thank you, I will give it a try. The reason I keep banging my head against this wall is because unless I code it myself, run into problems and solve problems, I will not learn. Right now all looks like it should work, but it doesn't. I suspect it has something to do with parsing order, but I just d

[AngularJS] Re: Data binding inside JavaScript string, not happening.

2016-11-24 Thread Sander Elias
Hi Andrei, Why don't use a small component to enable play-on-click? Something like: (function() { 'use strict'; angular .module('Module') .component('myPlayer', { template:` Play `, controller: ControllerCont

[AngularJS] Re: Data binding inside JavaScript string, not happening.

2016-11-24 Thread Andrei Zhitkov
Well, I am trying to use ng-click now and I am getting everything just right. Except the sound. The music wouldn't play. Here's the progress. HTML Play Angular function in the controller $scope.playAudio = function () { whichPlayer = '#player'; whichPlayer = whichPlayer

[AngularJS] Re: Data binding inside JavaScript string, not happening.

2016-11-24 Thread Andrei Zhitkov
Well, I am trying to use ng-click now and I am getting everything just right. Except the sound. The music wouldn't play. Here's the progress. HTML Play Angular function in the controller $scope.playAudio = function () { whichPlayer = '#player'; whichPlayer = whichPlayer

[AngularJS] Ang2 dependency injection of dynamically created services

2016-11-24 Thread Graham Phillips
Is there a pattern to follow to allow services that are dynamically created at runtime. For example an app may allow a user to define their own data sources, and then we need Ang to inject them into the UI. I guess I could have a 'service' class that gets injected, and allow that to have refere

[AngularJS] Re: Error in angular app testing using Karma & Jasmine

2016-11-24 Thread Dheeraj Moudgil
I had same problem with my e2e tests and figured out something interesting. The `jasmine` and `ng-scenario` are totally different frameworks. These two cannot be used at the same time. Jasmine is used for unit testing the application where as ng-scenario is used to do e2e testing. Try using ng-s

[AngularJS] Re: Angular 2 (Final): resetConfig to add routes to lazy loaded routes

2016-11-24 Thread Andrea Bertoldo
... On Monday, October 31, 2016 at 4:53:42 AM UTC+1, Sander Elias wrote: > > Hi Andrea, > > I just took a serious look at your plunker. (yes, it's a tad slow for ng2. > but as you said, it works) > > So if I understand your request correctly, you want to create a list of > named router-outlets f

[AngularJS] Accessing translations providers by a service

2016-11-24 Thread Yoav Luft @ Matific
I'm examining different ways to support translations in our hybrid angular 1 + angular 2 app. In our current code base using Angular 1.2 we load a JSON file with keys to translations that we inject using our own service/directive/filter. This approach requires from us to update the source JSON f

[AngularJS] Read test results from jenkins job and display it in browser

2016-11-24 Thread Kannan
I want read test results from Jenkins jobs using node js API(node-jenkins-api) or CURL command and display it in browser using Anjular js is it possible to use both node js and anjular js? these are the node js script var jenkinsapi = require('jenkins-api'); var jenkins = jenkinsapi.init('htt

Re: [AngularJS] ie11 crash in angular application with message of memory issue

2016-11-24 Thread Sander Elias
Hi David, Good catch! I'm not entirely sure Angular 2 does not use symbols, but I think they are rare at least. So it should be a less pertinent problem. Also, do you really need IE11? Did you measure what part of your audience is using

[AngularJS] Re: Angular 2 forms validation and AoT

2016-11-24 Thread Sander Elias
Hi Kopleman, Well, the upcoming typescript and vscode extensions will be able to help you even in that case. Also, you might prefer the elvis operator above the array notation. Your IDE should be able to help you there also. And yes, we are compiling templates and css to JS. This means, that you

[AngularJS] Re: How to read data from EXCEL file using Jasmine (Protractor framework)

2016-11-24 Thread Manaswini choudhary
Hi peter, could you pelase tell me where we need to place the json file?and also what are all the configuration changes we need to make for this data driven frame work. On Saturday, 22 August 2015 06:12:26 UTC+5:30, Peter Hendrick wrote: > > Hi, I'm not sure if you were able to figure t

[AngularJS] Possible flaw in implementation of updating SVG masks in Chrome & Safari

2016-11-24 Thread Merijn
Hi, Can you help me check for flaws in the implementation of updating SVG masks in Chrome & Safari? Have a look at this Plunker and see that (after changing the text through the input field) the upper text in red is not updated in Chrome &

[AngularJS] Possible flaws in implementation of updating SVG masks in Chrome & Safari

2016-11-24 Thread Merijn
I have reason to believe there are some flaws in the implementation of updating SVG masks in Chrome & Safari. Have a look at this Plunker and see that (after you change the text in the input field) the DOM is not updated for mask changes in

Re: [AngularJS] ie11 crash in angular application with message of memory issue

2016-11-24 Thread David Michael Gang
Hi all, I pinpoined the problem. It is connected to the core-js polyfill of Symbols. https://github.com/zloirock/core-js/issues/260 This defect is unfortunately unfixable. I wonder if angular2 could also suffer from this defect. Thanks, David On Mon, Nov 21, 2016 at 8:24 PM David Michael Gang

[AngularJS] Angular 2 Unit testig Component having dependent component gives error saying Can't resolve all parameters for componentName: (?, ?)

2016-11-24 Thread Snehasis Mohapatra
I am getting an error while doing unit test case for a Particular Component which depends upon another 2 components , so in the constructor we have those 2 components Below is the error which I am getting Error: Can't resolve all parameters for maNavBar: (?, ?). Is any good solution for this a

[AngularJS] How to implement ACL / role based authorization with angular 2?

2016-11-24 Thread Felix Costa
What is the best way to implement ACL / paper-based with angular 2? My scenario, in a nutshell, is this: The roles are dynamic and are based on the permissions that the client can configure that can also be dynamic. I need to prevent the user from having access to a particular resource that