Files
stf-DeviceFarmer/res/app/user/index.js
Gunther Brunner 1eb6af0119 Replaced old jade with new pug.
Using temporarily npm-shrinkwrap since `template-html-loader` uses an old `consolidate.js` version which doesn't support `pug`.
Follow here: https://github.com/jtangelder/template-html-loader/issues/8
2016-08-05 18:24:30 +09:00

10 lines
260 B
JavaScript

module.exports = angular.module('stf.user-profile', [])
.config(function($routeProvider) {
$routeProvider
.when('/user/:user*', {
template: require('./user.pug')
})
})
.controller('UserProfileCtrl', require('./user-controller'))