I am having a condition in Rails as:
if @user.permissions.include?('show_reports')
I need to check the above condition in angular pages. How to write in ng-if condition?
For example there is a dropdown class as
.dropdown
%h1 This is example
In all the other pages, they have written:
.dropdown{ng-if => ...}
but couldn't write for above condition. Please help.