Hi!

It is because HTML is not case-sensitive so browsers will change
#nameInput to #nameinput before Angular's compiler processes HTML.
Ng2 compiler, as AngularJS one, works on the live DOM, so it gets as
an input the DOM structure as parsed / seen by a browser.

Cheers,
Pawel

On Sat, May 2, 2015 at 7:03 PM, Mark Volkmann <[email protected]> wrote:
> Why is this okay: <input #nameinput>
> but this is not: <input #nameInput>
> Note the capital I in nameInput.
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.



-- 
AngularJS book:
http://www.packtpub.com/angularjs-web-application-development/book
Looking for bootstrap-based widget library for AngularJS?
http://angular-ui.github.com/bootstrap/

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to