SimeonC / SpokeDM

SpokeDM AGPL repository. See http://spokedm.com
GNU Affero General Public License v3.0
3 stars 1 forks source link

Inline Custom HTML #8

Closed SimeonC closed 11 years ago

SimeonC commented 11 years ago

Add the ability to load an external HTML page as an ng-include on the SpokeDM form.

SimeonC commented 11 years ago

Closed By: 6474284b64fa72390d699df733902e59453ff0b2 New option in spokeInit() is customFormRoute, the contents of which are passed through to a URLFor then loaded using an ng-include. You can use any angular variable you want in the included file (don't forget to override the default layout as we call the url as an ajax call, and it's not an iframe include). I have used the invisibleProperties and then referenced them in angular as {{spoke._invis.propertyname}}.