Tìm hiểu về AngularJS Directives (Phần 1)
Bài viết tìm hiểu về AngularJS Directives và cách tạo một Custom Directive - Phần 1 (Directives là gì? Cách tạo custom directive, restrict, template, templateUrl, priority).
Directives là gì?Các thuộc tính, id, class, name, onClick, … của một DOM element được gọi chung là directives. AngularJS sẽ dựa vào những directive đó để đính kèm các chỉ thị hoặc các sự kiện tới D......