[AngularJS] $windows couldn't inject in in controller using /*@ngInject*/

2016-09-15 Thread John Kanathon
Hi I am trying to inject $window using ecma script 6 constructor. /*@ngInject*/ constructor($window) { this.$window = $window; } when I am trying to access windows object using this.$windows getting windows is undefined. -- You received this message because you are subscribed

Re: [AngularJS] Re: Angular2 - one route, multiple components

2016-09-15 Thread 'Lucas Lacroix' via AngularJS
Yeah. That's what I was thinking. On Thu, Sep 15, 2016, 05:15 Luke wrote: > Thanks, that's actually a great idea ! Just to make sure - in template of > the parent component, I have an ngSwitch on let's say a [ngSwitch]="type">, in it there are two child components

[AngularJS] Re: Getting error using ng2 charts with Angular 2 RC 6.

2016-09-15 Thread Santosh Pillai
Hi Thanks for your time. Yes, created this project with angular2-cli tool. It works fine now with RC 6, I'm able to use Ng 2 charts. Now, I would try this out with latest (Released) version of Angular2. Thanks. On Monday, 12 September 2016 12:51:03 UTC+5:30, Zlatko Đurić wrote: > > Did you

[AngularJS] How to: CRUD Using AngularJS and MVC Web API.

2016-09-15 Thread Alejandro Nava-Gomez
I would like to use AngularJS and MVC Web API to create a form and its CRUD operations (see image below) The form is constituted of three tables: Page, Preamble, Sections. It also has 3 drop down lists that will need to be populated from the database. This is my first attempt to create a

[AngularJS] Re: Get current windows user name and domain information ?

2016-09-15 Thread Sander Elias
Hi Prayag, Unless MS has something specially arranged for this in IE/EDGE that I don't know of, it's impossible to get this data from withing the browsers sandbox. Browser vendors went to extreme length to prevent this (and any other kind) off access to system resources. Google for browser

[AngularJS] Get current windows user name and domain information ?

2016-09-15 Thread Prayag Ganoje
I need Windows *userName and Domain* information on the landing page developed using AngularJS. Is there any way to get Windows userName and Domain name ? In ASP.NET MVC there is *HttpContext.Current.User.Identity.Name* to get this kind of information. Looking how to achieve similar thing

[AngularJS] Re: Angular 2 RC6+ How to dynamically load a template using 1 class?

2016-09-15 Thread Long Field
Hope this can help you: https://github.com/Longfld/DynamicalRouter On Tuesday, September 13, 2016 at 6:14:05 PM UTC+10, Roland Slegers wrote: > > Hi there, > > > I have seen examples, tried stuff, yet I failed to do the following: > Dynamic Component Loading... > >- I looked at and tried out

[AngularJS] How select control works under ReactiveForms?

2016-09-15 Thread Long Field
Anyone knows how to select control for ReactiveForms? any http://plnkr.co/? {{opt.Text}} -- 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

[AngularJS] Using C# with Selenium and Integrating Protractor to it for Angular js app

2016-09-15 Thread Rasika Puranik
Hi there! My issue might be simple for u all , but since I am a beginner , I am using C# with Selenium and integrated the Protractor package to it . Please find the below Angular js code , I am trying to locate the button , but the "By " provides Selenium locators and "NgBy" provides

[AngularJS] Re: lazy loading without router

2016-09-15 Thread Long Field
Lazy loading and bootstrap component are two different thing,two separate angular 2 application running on same browser is another thing, which/what do you want to know? On Monday, September 12, 2016 at 11:29:07 AM UTC+10, Muthu Raja wrote: > > i have two component in my project (alert and

[AngularJS] Re: deploying an angular 2 app

2016-09-15 Thread Richard Perfect
On Thursday, September 15, 2016 at 9:00:06 PM UTC+12, norricorp wrote: > > Hi, > new to angular. I was wondering how to deploy an angular app to a web > server? Is there documentation on this. > I have experience with Java and Tomcat applications but not sure how it > works where all of the

[AngularJS] Angular : How to detect changes made to form automatically

2016-09-15 Thread user12345
Hi All Is there any way to detect whether the user has made any change to the form using angular form .? example : Step 1 : Value for name (type = input) will be : "test".(By default, the ng-model will be defaulted as value will be retrieved from API Response). Step 2 : User has changed value

[AngularJS] Re: NON html component element DOM properties

2016-09-15 Thread Jan Kozak
hello Sander, I do want. as wrote: hint would be appreciated. anyways, is it something like $attrs? On Tuesday, September 13, 2016 at 2:01:50 PM UTC+2, Sander Elias wrote: > > Hi Jan, > > Well, if you don't want to solve it using angular, you will need to re-ask > the question on a place where

[AngularJS] Re: Angular2 - one route, multiple components

2016-09-15 Thread Luke
Thanks, that's actually a great idea ! Just to make sure - in template of the parent component, I have an ngSwitch on let's say a , in it there are two child components .. and .. also these two components are two-way and have @input properties of slug? -- You received this message because you

[AngularJS] Angular2 custom button component (EventEmitter)

2016-09-15 Thread N Dzhil
Hello, I'm trying to implement a custom button component with Angular 2(rc-6) which has 2 important features: - prevent a second click(the user clicks the button twice) - show a spinning icon until the associated action is complete So, after reading some of the Angular 2 docs I saw that I can

[AngularJS] deploying an angular 2 app

2016-09-15 Thread norricorp
Hi, new to angular. I was wondering how to deploy an angular app to a web server? Is there documentation on this. I have experience with Java and Tomcat applications but not sure how it works where all of the logic is in the front end. Regards, John -- You received this message because you are

[AngularJS] Yeoman build + wampserver ?

2016-09-15 Thread jeremylacombe
Hi there, I made a build with Yeoman : Angular 1, webpack with npm, pure old javascript,SASS, and ui-router. *When i build the app* (npm run build),* i can deploy it on an IIS server without problem*. But i would like to devellop it without doing the npm run serve ( and i think it is pretty

[AngularJS] angular 2 tutorial - http

2016-09-15 Thread norricorp
Hi, going through the tutorial. If I wanted to use a real web server to supply data (rather than the InMemoryDataService), would all I have to do is change the heroesURL value to something like fred dot com? Regards, John -- You received this message because you are subscribed to the Google