Commit 79af2b15 authored by Evren Kutar's avatar Evren Kutar

provide application redirect and load files with no error

parent de417ab3
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
'use strict'; 'use strict';
var studentAdd = angular.module('zaerp.student.add', ['ngRoute', 'schemaForm', 'formGenerator']); var studentAdd = angular.module('zaerp.student.add', ['ngRoute', 'schemaForm', 'formService']);
studentAdd.controller('StudentAddCtrl', function($scope, $http, $timeout, $log, Generator, RESTURL){ studentAdd.controller('StudentAddCtrl', function($scope, $http, $timeout, $log, Generator, RESTURL){
......
<div ng-app="zaerp.student.add"> <div ng-app="zaerp.student.add">
<div class="col-md-6" ng-controller=""> <div class="col-md-6">
<h1>{{ form.name }}</h1> <h1>{{ form }}</h1>
<form name="{{ form.formname }}" sf-schema="schema" sf-form="form" sf-model="model" ng-submit="onSubmit()"></form> <form name="{{ form.formname }}" sf-schema="schema" sf-form="form" sf-model="model" ng-submit="onSubmit()"></form>
</div> </div>
</div> </div>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment