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

ios - Assigning a value out of array of arrays, using section in Xcode -

r - XTS-File doesnt work for quantstrat -