updated org-add form controller with form obj

This commit is contained in:
Jared Tabor 2016-04-13 17:54:38 -07:00
parent d7f75ce130
commit d5f032acb8

View File

@ -16,7 +16,7 @@ export default ['$scope', '$rootScope', '$compile', '$location',
// Inject dynamic view
var generator = GenerateForm,
form = OrganizationForm,
form = OrganizationForm(),
base = $location.path().replace(/^\//, '').split('/')[0];
generator.inject(form, {