I think I have adjusted the deliminator in the angular js module. The file
looks like this
<script>
angular.module('mainApp', ['ngMdIcons', 'ngMaterial', 'ngSanitize',
'ngMessages'])
.config(function ($interpolateProvider) {
//allow Web2py views and Angular to co-exist
$interpolateProvider.startSymbol('[[');
$interpolateProvider.endSymbol(']]');
});
</script>
which I have included in auth/_login.html as angular_module.html, which
looks like
{{sidenav_enabled=True}}
{{menu_enabled=True}}
{{extend "layout.html"}}
{{include "angular_module.html"}}
{{include "../static/angular/controllers/AppCtrl.html"}}
{{include "../static/angular/controllers/LoginCtrl.html"}}
{{include "../static/angular/services/menu.service.html"}}
<div ng-app='mainApp' ng-controller='LoginCtrl'>
{{block content_form}}
{{=form}}
{{end content_form}}
</div>
Do I still need to change the deliminators? Not sure
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.