Implementing a layout/sections concept in Angular
Coming from an ASP.NET MVC background, one of the concepts I found myself missing was that of "sections". A solution I came up with was to use two custom directives:
- octo-placeholder designates an area on the parent layout where content will be placed
- octo-section designates content that will be added to the parent layout
Your new post is loading...