Share your code.
A simple angular directive to put fixed alert on top of page.
npm install --save angular-fa
First make your app dependent to
var app = angular;
Then simply add this line inside body of page
<!-- If at any time alertMessageScopeVar becomes empty, the alert will disappear. -->
Options as attributes of the element with which
r-fa is linked
closable: if its value is false, the alert can not be disappear. For any other value or no value, alert will displayed until user clears that or timeout happens
autoHide: Only means if closable !=
autoHidecan be number of milliseconds or can be false. If its value is false, then alert will not disappear until user click on cross link. If its value is numeric then alert will be visible for specified number of miliseconds. By default its value is false,