Skip to content

Commit 4d41202

Browse files
committed
refactor to use string interpolation
1 parent 1adb747 commit 4d41202

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/app.controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ export default class AppCtrl {
66

77
$scope.$on('$stateChangeSuccess', (event, toState, toParams, fromState, fromParams)=> {
88
if (angular.isDefined(toState.data.pageTitle)) {
9-
this.pageTitle = toState.data.pageTitle + ' | AngularJS + ES6 application using Webpack';
9+
this.pageTitle = `${toState.data.pageTitle} | AngularJS + ES6 application using Webpack`;
1010
}
1111
});
1212
}
1313
}
1414

15-
AppCtrl.$inject = ['$scope'];
15+
AppCtrl.$inject = ['$scope'];

0 commit comments

Comments
 (0)