Commit | Line | Data |
---|---|---|
266e7ad1 TO |
1 | (function(angular, $, _) { |
2 | // Declare a list of dependencies. | |
3 | angular.module('afformStandalone', CRM.angRequires('afformStandalone')); | |
7c107c85 CW |
4 | |
5 | angular.module('afformStandalone', CRM.angular.modules) | |
6 | .config(function($routeProvider) { | |
7 | $routeProvider.when('/', { | |
8 | controller: 'AfformStandalonePageCtrl', | |
9 | template: function() { | |
590c0e3f | 10 | return '<div id="bootstrap-theme" ' + CRM.afform.open + '="{}"></div>'; |
7c107c85 CW |
11 | } |
12 | }); | |
13 | }) | |
14 | .controller('AfformStandalonePageCtrl', function($scope) {}); | |
15 | ||
266e7ad1 | 16 | })(angular, CRM.$, CRM._); |