Skip to content

Instantly share code, notes, and snippets.

@gavilanch
Created June 9, 2019 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gavilanch/f90e9ff26ccead6232841693de954beb to your computer and use it in GitHub Desktop.
Save gavilanch/f90e9ff26ccead6232841693de954beb to your computer and use it in GitHub Desktop.
import { Component, OnInit } from '@angular/core';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
@Component({
selector: 'app-todo-list',
templateUrl: './todo-list.component.html',
styleUrls: ['./todo-list.component.css']
})
export class TodoListComponent implements OnInit {
constructor(private modalService: NgbModal) { }
ngOnInit() {}
clickAddTodo() {
alert('hola!');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment