how to add new scope to angularjs reusable templates -
i want create reusable template, contact information
<input> name <input> telephone <input> email
now, want use partial html in many instances. populate input edit in 1 example or add new contact in another. what's best way this?
user angularjs directive. that's designed do. http://docs.angularjs.org/guide/directive
here useful resource started directives: https://github.com/angular/angular.js/wiki/jsfiddle-examples#version-110
Comments
Post a Comment