7yl4r / the-oregon-trajectory

:rocket: The Oregon Trail -- in SPAAACE!
http://7yl4r.github.io/the-oregon-trajectory/
GNU Affero General Public License v3.0
17 stars 6 forks source link

passing data into angular directives #5

Closed 7yl4r closed 9 years ago

7yl4r commented 9 years ago

one core feature missing from our boilerplate is an example of a string or js object being passed into a directive. This is basic, well documented angular stuff, but I don't have a working example yet.

The idea is that you can:

<splash-header app-name="The Oregon Trajectory"></splash-header> 

rather than modifying the template itself each time.