text: angular.module('spBlogger.posts',['ui.router','spBlogger.posts.services','spBlogger.posts.controllers']).config(['$stateProvider','$locationProvider',function($stateProvider,$locationProvider){
  
       $stateProvider.state('allPosts',{
       	url:'/posts',
       	templateUrl:'modules/posts/views/posts.html',
       	controller:'PostController'
       });
  
       $stateProvider.state('singlePost',{
       	url:'/posts/:id/:permalink',
       	templateUrl: 'modules/posts/views/singlePost.html',
       	controller:'PostDetailsController'
       });
  
  }]);