Advertisement
Guest User

Untitled

a guest
May 28th, 2015
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. <div>
  2. <input type="text" ng-model="ctrl.SomeProperty"><br>
  3. <input type="text" ng-model="ctrl.SomeModel.SomeField" ng-show="ctrl.ShouldShow()"><br>
  4. </div>
  5.  
  6. // Usage of the directive:
  7.  
  8. <my-directive model="Whatever"></my-directive>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement