Ionic js components

I just found something called ‘ionic javascript components’. I found that article because I was trying to find cool alert stylings and Ionic JS has pretty nice popups which can serve as alerts.

But is this still supported in ionic 3? And if it is, how do I go about in using the code? it’s kind of confusing because in TutorialPoints their code looks like:

.controller('MyCtrl', function($scope, $ionicPopup) {

 $scope.showAlert = function() {

  var alertPopup = $ionicPopup.alert({
     title: 'Title',
     template: 'Alert message'
  });

  alertPopup.then(function(res) {
     // Custom functionality....
  });
 };
})

That’s v1 syntax. Not supported in v3.

Thanks. How can I style the alerts in v3 to look the same with those popups? Is it even possible?