By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
| /* | |
| * Add post object field on the CPT you want to display | |
| * In the post object field select the CPT post you want this post to show on | |
| * | |
| * Example: | |
| * 2 CPT's - Tours and Reviews | |
| * | |
| * To show reviews on the relevant tours: | |
| * - Add the post object field to the reviews CPT | |
| * - Select the tours that I want the reviews to show on inside the Review post |
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>