cvn / angular-shims-placeholder

Angular directive to emulate the placeholder attribute on text and password input fields for old browsers, such as IE9, IE8, and IE7. Also works on textareas and html5 input types.
MIT License
63 stars 26 forks source link

ngModel -> ?ngModel #7

Closed RopoMen closed 10 years ago

RopoMen commented 10 years ago

ngModel should be optional. My application is not fully SPA and that is why my input elements may not have ngModel defined. Now if you don't define ngModel it will break. :<

joncodo commented 10 years ago

Switch to fully SPA? Go angular all the way and bind to model in the controller? You will be happy you did.

RopoMen commented 10 years ago

That was not possible, there is a strong connection to EPiServer CMS and CMS edit views doesn't work on Angular :<

cvn commented 10 years ago

Please try the new version, 0.2.1. ngModel is optional now.