Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis

gdyrrahitis/main.ts Secret

Created Jul 13, 2018
Embed
What would you like to do?
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