Sunday, 15 May 2011

javascript - Getting typeahead to work in an Angular template? -


I currently have a partial HTML that is being routed with template and custom controller in my angle template in the code snippet To work:

& lt; Val ($ viewValue) for val in input type = "text" typeahead = getValue & gt;

However, this function does not enter getValue (), while all the other functions of my controller are correct. When I take anaaler template / partial headline type, it works. Why is this and how can I fix it?

You get a ng-model

Change:

  & lt; Input type = "text" ng-model = "typeahhead wall" typeAhad = "Val for Val (see value)" & gt;  

No comments:

Post a Comment