javascript - How equal two objects and return this value to ng-show -


i have 2 objects (dates)

{{vm.currentdate|date:'mediumdate'}} , {{vm.anotherdate|date:'mediumdate'}} 

how equal (if same) , value operation sent directive in button

<button type="submit"  ng-show="value_from_operation"></button>  

you check if equal this:

+currentdate === +anotherdate 

Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -