[AngularJS] RendererV2 how to focus element ?

2017-03-04 Thread Hengkeat Yam
hi..all ng2 we use Renderer this.renderer.invokeElementMethod(this.el.nativeElement,"focus"); ng 4.0 RendererV2 don have invokeElementMethod, how we focus element ? Regards Yam -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" gro

Re: [AngularJS] Re: trying to set an input parameter for an angular2 component

2017-03-04 Thread verniagrogan via Angular and AngularJS discussion
On Sun, 3/5/17, floydjack428 via Angular and AngularJS discussion wrote: Subject: Re: [AngularJS] Re: trying to set an input parameter for an angular2 component To: angular@googlegroups.com Date: Sunday, March 5, 2017, 3:20 AM --

Re: [AngularJS] Re: trying to set an input parameter for an angular2 component

2017-03-04 Thread floydjack428 via Angular and AngularJS discussion
On Sun, 3/5/17, Reza Razavipour wrote: Subject: Re: [AngularJS] Re: trying to set an input parameter for an angular2 component To: "Angular and AngularJS discussion" Date: Sunday, March 5, 2017, 3:00 AM Forgot to mention @Sander Elias. On

Re: [AngularJS] Re: trying to set an input parameter for an angular2 component

2017-03-04 Thread Reza Razavipour
Forgot to mention @Sander Elias. On Saturday, March 4, 2017 at 4:58:43 PM UTC-8, Reza Razavipour wrote: > > And I just added a second component to my code and followed your pattern, > and like your it works. But I only have one component, so I have to solve > the problem with one component. > >

Re: [AngularJS] Re: trying to set an input parameter for an angular2 component

2017-03-04 Thread Reza Razavipour
And I just added a second component to my code and followed your pattern, and like your it works. But I only have one component, so I have to solve the problem with one component. Do you agree? BTW, thank you for helping so diligently. On Saturday, March 4, 2017 at 4:51:03 PM UTC-8, Reza Raza

Re: [AngularJS] Re: trying to set an input parameter for an angular2 component

2017-03-04 Thread Reza Razavipour
I think the difference between yours and mine is that you have 2 components in your example and one (app.component) sets the input parameter for the second one (flow). Mine I only one component in my module. So I set the input parameter for my 1 component in index.html and never see the value.

[AngularJS] Unable to run basic Angular 2 App

2017-03-04 Thread Abhi Ram
I am trying to setup Angular App using angular CLI by following the steps mentioned in angular website. But when I use ng serve command and try to open the url http://localhost:4200/ It is stuck in loading screen forever. Steps followed for Setup: 1) Installed Node Js 2) npm install -g typ

[AngularJS] Angular2+ in Google Apps Script Web App

2017-03-04 Thread Jasperin Jebaraj
Is it possible to use Angular2+ in Google Apps Script Web App? I searched enough, but there is no documentation/ article on the web which touches this topic. If it is possible, can anyone give me a sample working Google Apps Script web app using Angular2? More specifically, I am not sure h

[AngularJS] Problems with routing / router-outlet

2017-03-04 Thread Dawg
Spent three weeks trying to get the code to working with no success. The code it self works but I can't to route the results to the correct component I ;posted the code on github: https://github.com/tcgl/angularlearning I also uploaded two screenshots to describe the problem I'm having. I

[AngularJS] Angular 2 RouterReuseStrategy provider and lazy loaded module

2017-03-04 Thread Steven Cohn
Angular 2.4.8... My app has a primary module with its own routing module. It lazy loads a secondary module with its own routing module. The primary module references the secondary routing module so Angular keeps track of the routing arrays in proper order and everything works groovy. The sec

[AngularJS] Angular RouterReuseStrategy provider and lazy loaded module

2017-03-04 Thread Steven Cohn
Angular 2.4.8... My app has a primary module with its own routing module. It lazy loads a secondary module with its own routing module. The primary module references the secondary routing module so Angular keeps track of the routing arrays in proper order and everything works groovy. The sec

[AngularJS] return a token from filter to a controller

2017-03-04 Thread Vishnu Bidarakundi
I want to generate a token for firebase cloud messaging ( push Notifications) The filter code: app. factory('Notification', function($rootScope,$q) { var Service = {}; Service.getTokenKey = getTokenKey; Service.getFirebaseToken = getFirebaseToken; const messaging = firebase.messaging()

[AngularJS] Angular js Minification

2017-03-04 Thread Brijesh Tewari
Hi Team, I am working with AEM 6.1 in which we are using angular js 1.6.2 version . AEM provide minification functionality which use htmllibmanager.gzip so when we are minifying the angular js 1.6.2 it is showing 40 syntax error. Can anyone help in resolving this or any one having htmllibmanager

[AngularJS] Re: return inventoryData is fired before promise values return

2017-03-04 Thread methuselah90
Ahh thanks... managed to get it working! On Wednesday, 1 March 2017 15:36:34 UTC, Sander Elias wrote: > > Hi, > > Probably your 'store' is not holding the value 'nike' > > Try this: > function checkInventory() { > > var inventoryRequestObject = DataService.getFormData(); > var store = inv