Skip to content

Commit

Permalink
add arrays service with importing loadash
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyGiretti committed May 25, 2018
1 parent 92e642d commit 9343cbc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
import { AppComponent } from './app.component';
import { ArraysService } from '../services/Arrays';
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';


import { AppComponent } from './app.component';


@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule
],
providers: [],
providers: [ArraysService],
bootstrap: [AppComponent]
})
export class AppModule { }
10 changes: 10 additions & 0 deletions src/services/Arrays.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { Injectable } from '@angular/core';
import has from 'lodash/has';

@Injectable()
export class ArraysService {

constructor() { }


}

0 comments on commit 9343cbc

Please sign in to comment.