Created
February 11, 2015 13:25
-
-
Save koriroys/7f2069be043c5fdbfcc3 to your computer and use it in GitHub Desktop.
fill in a template from a controller?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var template = get('template:example').compiledTemplateString; // how to actually do this? | |
var templateWithFilledInValues = template({ username: 'Mr. Whiskers', email: 'meow@example.com' }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment