Commit cc41ff1232991dd0aa72ad52307b946b143e2e4b

Authored by Evandro Junior
2 parents ad92917a 55ee9557

Merge branch 'ngforward' of softwarepublico.gov.br:noosfero-themes/angular-theme into ngforward

* 'ngforward' of softwarepublico.gov.br:noosfero-themes/angular-theme:
  Remove unused dependencies from cms component
Showing 1 changed file with 1 additions and 3 deletions   Show diff stats
src/app/cms/cms.component.ts
@@ -11,7 +11,7 @@ import {ProfileService} from "../../lib/ng-noosfero-api/http/profile.service"; @@ -11,7 +11,7 @@ import {ProfileService} from "../../lib/ng-noosfero-api/http/profile.service";
11 provide('profileService', { useClass: ProfileService }) 11 provide('profileService', { useClass: ProfileService })
12 ] 12 ]
13 }) 13 })
14 -@Inject(ArticleService, ProfileService, "$stateParams", "$httpParamSerializer", "$state", "SweetAlert") 14 +@Inject(ArticleService, ProfileService, "$state", "SweetAlert")
15 export class Cms { 15 export class Cms {
16 16
17 article: any = {}; 17 article: any = {};
@@ -19,8 +19,6 @@ export class Cms { @@ -19,8 +19,6 @@ export class Cms {
19 19
20 constructor(private articleService: ArticleService, 20 constructor(private articleService: ArticleService,
21 private profileService: ProfileService, 21 private profileService: ProfileService,
22 - private $stateParams: ng.ui.IStateParamsService,  
23 - private $httpParamSerializer: any,  
24 private $state: ng.ui.IStateService, private SweetAlert: any) { } 22 private $state: ng.ui.IStateService, private SweetAlert: any) { }
25 23
26 save() { 24 save() {