Merge in 5.32
[civicrm-core.git] / ext / afform / core / ang / afformStandalone.js
1 (function(angular, $, _) {
2 // Declare a list of dependencies.
3 angular.module('afformStandalone', CRM.angRequires('afformStandalone'));
4
5 angular.module('afformStandalone', CRM.angular.modules)
6 .config(function($routeProvider) {
7 $routeProvider.when('/', {
8 controller: 'AfformStandalonePageCtrl',
9 template: function() {
10 return '<div id="bootstrap-theme" ' + CRM.afform.open + '="{}"></div>';
11 }
12 });
13 })
14 .controller('AfformStandalonePageCtrl', function($scope) {});
15
16 })(angular, CRM.$, CRM._);