MCPcopy Create free account
hub / github.com/angular-app/angular-app / runController

Function runController

client/test/unit/app/projects/projects.spec.js:5–9  ·  view source on GitHub ↗
($scope, projects)

Source from the content-addressed store, hash-verified

3 beforeEach(module('projects'));
4
5 function runController($scope, projects) {
6 inject(function($controller) {
7 $controller('ProjectsViewCtrl', { $scope: $scope, projects: projects });
8 });
9 }
10
11 function createMockProject(id) {
12 return {

Callers 1

projects.spec.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected