Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created July 13, 2018 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdyrrahitis/c8367c5ae0bc4e172c6c784ca0b09bff to your computer and use it in GitHub Desktop.
Save gdyrrahitis/c8367c5ae0bc4e172c6c784ca0b09bff to your computer and use it in GitHub Desktop.
import * as angular from "angular";
import "ngSanitize";
import "ngRoute";
import "ngStorage";
import "ngAnimate";
import "ngTouch";
import "angular-ui-bootstrap";
import { HomeController } from "./home.controller/home.controller";
import { DepartmentController } from "./department.controller/department.controller";
import { DepartmentService } from "./department.service/department.service";
import { EmployeeModalController } from "./employee.modal.controller/employee.modal.controller";
import { registerRoutesFor } from "./routes";
export module app {
"use strict";
var app = angular.module("app", ["ngSanitize", "ngRoute", "ngStorage", "ngAnimate", "ngTouch", "ui.bootstrap"])
.controller("homeController", HomeController)
.controller("departmentController", DepartmentController)
.controller("employeeModalController", EmployeeModalController)
.factory("departmentService", [DepartmentService]);
registerRoutesFor(app);
export var angularModule = app;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment