2

Ok I am getting the speciality value from my angular controller and based on that value I want to change my UI view with different files. Right now I am getting all the three files one after another in my view, seems the ng-if is not checking the condition, any help would be appreciated.

div(ng-if = 'speciality = "null"')
  include consultation-form
div(ng-if = 'speciality = "Ophthalmology"')
  include consultation
div(ng-if = 'speciality = "Cardiology"')
  include add-User-Dependents
sac Dahal
  • 1,191
  • 2
  • 13
  • 37

0 Answers0