rockq-org / austack-core

API, Console, Test of austack
32 stars 8 forks source link

api/user/me should prefix with the Config.API #80

Closed lymanlai closed 9 years ago

lymanlai commented 9 years ago

problem

screen shot 2015-06-30 at 11 55 55 pm

solution

inject the Config.API and also change the users to be user (as we have change all path to be signular format) screen shot 2015-07-01 at 12 00 04 am

nihgwu commented 9 years ago

API_URL xD

lymanlai commented 9 years ago

problem

screen shot 2015-06-30 at 11 59 28 pm

solution

add mainMenu dependence into layout.js


  // register the route config on the application
  angular
    .module('austackApp.layout', [
      'ui.router',
      'austackApp.mainMenu',
      'austackApp.layout.breadcrumb'
    ])
    .config(configLayoutRoute);

screen shot 2015-06-30 at 11 58 56 pm