Skip to content

Commit

Permalink
fix(metadata): fix ngc add MetadataBase how injectable
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonornela committed Nov 28, 2016
1 parent 98bfed7 commit 8a86fe7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/providers/metadata/metadata-base.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Inject, OpaqueToken, Optional } from '@angular/core';
import { Inject, Injectable, OpaqueToken, Optional } from '@angular/core';
import { HTTP_METHODS, Params } from './data-type';
import { Metadata } from './metadata';
import { Config } from '@ramonornela/configuration';
Expand All @@ -9,6 +9,7 @@ const KEY_CONFIG = 'urlResolver';

export const ConfigRoutesToken = new OpaqueToken('CONFIGROUTESTOKEN');

@Injectable()
export class MetadataBase implements Metadata {

protected data: any = {};
Expand Down

0 comments on commit 8a86fe7

Please sign in to comment.