Created
January 26, 2015 21:34
-
-
Save lynndylanhurley/a1354f24cbd21f68eef7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# replace $$value$$ with actual reference to ngModel | |
# i.e. model['attr'] or model['nested']['attr'] | |
key = '' | |
if scope.form.key | |
key = sfPath.stringify(scope.form.key).replace(/"/g, '"') | |
keyStr = 'model' + (if key[0] != '[' then '.' else '') + key |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment