.directive ('tokenRefresh', function($timeout, $http, $location, Notification, AppConfig) {
function mymethods(scope, elem, attrs) {
.directive ('tokenRefresh', function($timeout, $http, $location, Notification, AppConfig) {
function mymethods(scope, elem, attrs) {