Merge pull request #18706 from civicrm/5.30
[civicrm-core.git] / ext / afform / core / ang / afformStandalone.js
CommitLineData
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() {
10 return '<div ' + CRM.afform.open + '="{}"></div>';
11 }
12 });
13 })
14 .controller('AfformStandalonePageCtrl', function($scope) {});
15
266e7ad1 16})(angular, CRM.$, CRM._);