I'm trying to build an ionic2 application. I want to send notifications to users when ibeacon is detected. It worked with this code in angularjs. How can I do this with angular2 like the code below?
<div class="row" ng-controller="Example1Controller" ng-init="add()">