摘要:
A chunk may be used in many pages, different page may require different style.We can use Placeholder to pass in the value.[[+placeholder_name]]For exm... 阅读全文
摘要:
Chunk in Modx can cut your template into samll pieces to make code reuseable.[[$chunk_name]]For example we can replace the html header with [[$html_he... 阅读全文
摘要:
After uploading javascript, css and images to the assets folder.We try to use Template to customizeour html.First template: We set up some placeholder... 阅读全文
摘要:
In Modex, there are three tabs: Resoources, Elements & FilesFirst: 'Files' is the place where to put javascript, css & images. I also want to put font... 阅读全文
摘要:
You can use ngModel in your own directives, but there are a few things you'll need to do to get it working properly.ngModel itself is an directive. If... 阅读全文
摘要:
Directive can use another directive though 'require' keyword.angular.module('docsTabsExample', []).directive('myTabs', function() { return { restr... 阅读全文