Update UI build system

* Faster build times
* Smaller bundle sizes
* Adjust paths
* Cleanup npm dependencies
* Remove unneded Grunt tasks
This commit is contained in:
gconsidine
2017-09-07 18:09:14 -04:00
parent b565fd2ec1
commit c57c17546e
81 changed files with 1212 additions and 7104 deletions

View File

@@ -1,3 +1,5 @@
const templateUrl = require('@components/layout/side-nav.partial.html');
function atSideNavLink (scope, element, attrs, ctrl) {
scope.layoutVm = ctrl;
}
@@ -12,7 +14,7 @@ function AtSideNavController () {
}
}
function atSideNav (pathService) {
function atSideNav () {
return {
restrict: 'E',
replace: true,
@@ -21,12 +23,10 @@ function atSideNav (pathService) {
controllerAs: 'vm',
link: atSideNavLink,
transclude: true,
templateUrl: pathService.getPartialPath('components/layout/side-nav'),
templateUrl,
scope: {
}
};
}
atSideNav.$inject = ['PathService'];
export default atSideNav;