I want filter servers on the condition for those records with serverState and the initialstate in them are not equal.
{{servers | filter : serverState != initialState}}
I want filter servers on the condition for those records with serverState and the initialstate in them are not equal.
{{servers | filter : serverState != initialState}}
Copyright © 2021 Jogjafile Inc.
You can create your own custom filter which has logic to filter the server which don't have initial state matching with initalState variable value.
Your Custom filter
Your HTML
For sample please check this link
http://fiddle.jshell.net/zxr0qa1k/5/