My angular's structure is as follow.
var testApp = angular.module("testApp", ["ngRoute"]);
testApp.service('testService', function($http, $q) {
});
testApp.controller("testController", function($scope, testService) {
angular.element(document).ready(function() {
});
});
<div>
<div ng-app="testApp">
<div ng-view></div>
</div>
</div>
How should I use jasmine in this structure?
Aucun commentaire:
Enregistrer un commentaire