Closed manugb closed 7 years ago
fix routes.js:
import { Config } from 'angular-ecmascript/module-helpers';
import templateChatUrl from '../templates/chats.html'; // Add this
import templateTabsUrl from '../templates/tabs.html'; // and this
export default class RoutesConfig extends Config {
configure() {
this.$stateProvider
.state('tab', {
url: '/tab',
abstract: true,
templateUrl: templateTabsUrl // then update templateUrl here
})
.state('tab.chats', {
url: '/chats',
views: {
'tab-chats': {
templateUrl: templateChatUrl // and here
}
}
});
this.$urlRouterProvider.otherwise('tab/chats');
}
}
RoutesConfig.$inject = ['$stateProvider', '$urlRouterProvider'];
@manugb Are you still receiving this error? Because for me it works fine. What happens if you clone the project and checkout step 1?
Doing step 1, client/templates/tabs.html and chats.html are not being loaded
With angular-templates 1.0.8_1 angular 1.5.x angular-meteor 1.3.11
It works using angular-templates 1.0.3