adding ng-click='deleteLesson()'