mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
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
10 lines
260 B
JavaScript
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'))
|