Fixed license ad declaration error on build

This commit is contained in:
Vito Albano
2016-07-15 11:51:33 +01:00
parent 4c9463338f
commit 95b9fb28f3
2 changed files with 3 additions and 2 deletions

View File

@@ -30,11 +30,11 @@ declare let __moduleName: string;
}) })
export class LoginDemoComponent { export class LoginDemoComponent {
providers: string [] = ['ECM'];
constructor(public router: Router) { constructor(public router: Router) {
} }
providers: string [] = ['ECM'];
onLogin($event) { onLogin($event) {
console.log($event); console.log($event);
this.router.navigate(['Home']); this.router.navigate(['Home']);

View File

@@ -14,6 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import { EventEmitter, Injectable } from '@angular/core'; import { EventEmitter, Injectable } from '@angular/core';
import { Response } from '@angular/http'; import { Response } from '@angular/http';
import { Observable } from 'rxjs/Observable'; import { Observable } from 'rxjs/Observable';