Open ghost opened 9 years ago
i try to use with my app route config...but i can't solve it... i am using: dist/angular-adaptive-templating.js
var PKapp = angular.module('pkApp', [ 'adaptiveTemplating', 'ngRoute' ]);
PKapp.config(['$routeProvider', function($routeProvider) { $routeProvider .when('/', { templateUrl: '/apps/templates/{mobile}{desktop}/home-page.php' }) .when('/music', { templateUrl: '/projects/music/templates/{mobile}/container/music-index.php' }) }]);
whats my fault? Please help.... waiting for response.
Sorry, Its working...
I missing 2nd option.
i try to use with my app route config...but i can't solve it... i am using: dist/angular-adaptive-templating.js
var PKapp = angular.module('pkApp', [ 'adaptiveTemplating', 'ngRoute' ]);
PKapp.config(['$routeProvider', function($routeProvider) { $routeProvider .when('/', { templateUrl: '/apps/templates/{mobile}{desktop}/home-page.php' }) .when('/music', { templateUrl: '/projects/music/templates/{mobile}/container/music-index.php' }) }]);
whats my fault? Please help.... waiting for response.