ng-R ng-R - 1 year ago 91
AngularJS Question

Angularjs-toaster always displays toast notification on top-right

I have this sample html file. Here I am using angular-toast notification. Issue I am facing here is toast messages always appear on the top-right position.

script.js file contains

angular.module('main', ['ngAnimate', 'toaster']).controller('myController', function($scope,toaster, $window) {

$scope.pop = function(){
toaster.pop('success', "title", 'message');

$scope.clear = function(){

Please find the plunker link

Thanks in advance

Answer Source

In your options you want: position-class, not positionClass.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download