[AngularJS] Re: How does one pull data from a component? (like nested controllers in angular1.x)

2016-07-11 Thread Sander Elias
Hi Mike, This is what @components do. Why did you use a directory instead? Regards Sander -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@goog

[AngularJS] Re: New to Angular2: too many rxjs requests, .map requests

2016-07-11 Thread Sander Elias
Hi Mike, Sathish, This is more a result of the way the new import modules are supposed to work as it is an angular 2 issue. Closing the console will help, as it will prevents the loading of the .map files. Switching to http2 will also help, as that is way more geared towards this use-case. For

[AngularJS] Re: Restangular and the Strange Case of: "console.log( this.jewels)"

2016-07-11 Thread Sander Elias
Hi Jerry, Well, I still believe the issue you are having is a coffeescript one. You see, Restangular.all('jewels').getList().$object returns a empty array. Then it goes off and does its job, and once the results are in, the array is extended with the result. You see this reflected in the consol

[AngularJS] component in angular 1.5

2016-07-11 Thread S kumar
We are using Material Design "Autocomplete" in many modules,so can we create a component for this ? Thanks in advance -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email

[AngularJS] Re: How to Disable component in Angular 1.5 ?

2016-07-11 Thread S kumar
Thank you On Monday, July 11, 2016 at 10:26:59 AM UTC+5:30, Sander Elias wrote: > > Hi S, > > You can do: > > > > > and it will take out the component when the condition evaluates to falsy. > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "

[AngularJS] Re: init() vs OnInit in angular 1.5

2016-07-11 Thread S kumar
Thank you On Monday, July 11, 2016 at 10:25:00 AM UTC+5:30, Sander Elias wrote: > > Hi S, > > There was no 'init' support in angular before $oninit. So the main > difference is that angular calls the $onInit automatically when it needs > it, and you needed to cal your init() functions yourself.

[AngularJS] How does one pull data from a component? (like nested controllers in angular1.x)

2016-07-11 Thread mike
My use case is simple. I want a directive that has data properties. I want the html/design person to be able to design the template but have access to the data properties. I can't seem to get this use case to work. Can someone enlighten me? I don't want to put all the properties on the mai

[AngularJS] Re: New to Angular2: too many rxjs requests, .map requests

2016-07-11 Thread mike
I am still seeing that behavior. Unfortunately, I don't have a fix. I switched to Safari and rxjs still loads each component separately, but the reload time isn't noticeable (I was using Firefox). I am just hoping that it will be fixed before they do the first release. I wish I had a solutio

[AngularJS] Re: TypeError: router_1.provideRouter is not a function

2016-07-11 Thread Steven Luke
I don't know your environment, so I can't give details. The gist of it is that you need to provide the depended for the application. If you can't do it with the IDE, I would suggest you dump it and head over to http://angular.io and follow the tutorial on how to do it manually. Once you know ho

[AngularJS] Re: Restangular and the Strange Case of: "console.log( this.jewels)"

2016-07-11 Thread Jerry Thompson
The plunker link has the file app.js I do not believe this is a coffee script issue, but is related to a promise. On Monday, July 11, 2016 at 5:16:51 AM UTC-7, Sander Elias wrote: > > Hi Jerry, > > Looks like an cofeescript issue. Thing is, you are returning async data, > and it might take a co

[AngularJS] Re: angular2, reusable component that can associate its ngControls with a parent ngForm

2016-07-11 Thread Lesley Markesbery
Did you try having your component bind to the form control? Each application could use FormBuilder and FormControls like any other form but the actual control would be backed by your reusable input component. This does make your reusable component a very dumb (as in dumb vs. smart) control but

Re: [AngularJS] Re: Angular2 cannot find element

2016-07-11 Thread 'Lucas Lacroix' via AngularJS
I updated to rc4 from rc1. The error is now: "Error during instantiation of AnimationDriver!" which, conveniently, had results in Google. The issue is as I thought: bootstrap does not wait for the onload event. I have changed my code to do this: window.addEventListener('load',(evt)=> {boostrap(Log

[AngularJS] Angular 2 custom directive not binding sparkline barChart

2016-07-11 Thread vijender reddy
I am trying to write custom directive to pass input values and then bind data to the sparkline chart but it gives me error sparkline is not a function. Below is the plunker: http://plnkr.co/edit/BpY6Kd1bSMzWTKSZqJzv Any help appreciated. -- You received this message because you are subsc

[AngularJS] Re: Dynamic template inside directive using ng-options

2016-07-11 Thread Billy Figueroa
Sander, I get the part about passing form times as a argument, I like that idea but I m not sure I understand the rest of your reply. I m on Angular 1.38 still. Have not had a chance to upgrade to 1.5 or whatever version allows you to use "component" On Monday, July 11, 2016 at 1:05:36 AM UTC-

[AngularJS] Angular2, using html-tag iframe with ngfor an dynamic component loader

2016-07-11 Thread Katy
Hi, I use ngfor and the dynamic component loader to show different numbers of div-containers with different contents. One content shall show another webapplication. For this exercise I use the html-tag iframe. My problem is that every dynamic change with the ngfor triggers a reload from the

[AngularJS] Re: angular2, reusable component that can associate its ngControls with a parent ngForm

2016-07-11 Thread hani
Thanks Sander, Yes i've used those with no success. Although there are no mention of adding `ngControl` directives in child template, i've tried with/without with no success. It seems that i can't sync the inputs in child component with their parent form in case of not using `ngControl`. While

Re: [AngularJS] Re: how to use checkbox or radio in angular2

2016-07-11 Thread Gerard Lanphear
Hi Elias, Ah yes, however at least in RC 4 the value on your binding example is not making it into the model inside the component. That is a check box example. With radio groups with a common name property the bindings on the remaining items not checked are not getting updated. My example here is f

[AngularJS] Re: Restangular and the Strange Case of: "console.log( this.jewels)"

2016-07-11 Thread Sander Elias
Hi Jerry, Looks like an cofeescript issue. Thing is, you are returning async data, and it might take a couple of cycles before the data is returned. I'm not familiar with CS enough to track down what is happening in your case. Regards Sander -- You received this message because you are subscr

Re: [AngularJS] Will angular2 be supported on chrome 41?

2016-07-11 Thread András Csányi
Hi, Take a look at it. https://www.gurustop.net/blog/2015/10/07/angularjs2-internet-explorer-support - - -- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu -- http://facebook.com/andras.csanyi -- ""Trust in God and keep your gunpowder dry!" - Cromwell On 11 July 2016 at 10:42, Ajey Charantim

[AngularJS] Re: Angular - 2

2016-07-11 Thread Prasad Kumbhare
ngbook2 is an excellent resource https://www.ng-book.com/2/.. its paid one though..but they keep it update with every RC release https://app.pluralsight.com/library/courses/angular-2-first-look/table-of-contents Udemy has lot of ng2 courses again paid ones https://www.udemy.com/courses/search

[AngularJS] Will angular2 be supported on chrome 41?

2016-07-11 Thread Ajey Charantimath
Hi, I am about to choose angular 2 for building up a new project. However I need to support on chrome 41 (this version is locked down due to internal requirements). So I was curious to know if angular 2 would run on chrome 41? Thanks. -- You received this message because you are subscribed t

[AngularJS] It's Kinda CNN for Web Developers

2016-07-11 Thread hotjs
Hey, everyone. I would like to share with you a new free website that will keep you update-to-date with the latest learning resources on web developmen. https://www.hotjs.net/ -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe fr