angular-md5 icon indicating copy to clipboard operation
angular-md5 copied to clipboard

how to integrate angular-md5 in angular 2 typscript?

Open maxto024 opened this issue 9 years ago • 4 comments

how to integrate angular-md5 in angular 2 typscript plz i need so much

maxto024 avatar May 18 '16 18:05 maxto024

@maxto024 you can create a MD5 service by yourself temporary like this:

import { Injectable }    from '@angular/core';

@Injectable()
export class MD5Service {
  createHash(str: string): string {
    // @gdi2290 's code here
  }
}

Finally, I hope the author @gdi2290 can update this pkg

jakechan2012 avatar Jun 20 '16 02:06 jakechan2012

@jakechan2012 what should be updated? I can update it now to Angular 2

PatrickJS avatar Jun 20 '16 02:06 PatrickJS

@gdi2290 i just hope this pkg can support angular2

jakechan2012 avatar Jun 20 '16 02:06 jakechan2012

@jakechan2012 would you be okay with the npm namespace @angularclass/md5?

PatrickJS avatar Jun 20 '16 02:06 PatrickJS