Ng-bind and ng-if

20 views
Skip to first unread message

Adam Bąk

unread,
Dec 19, 2014, 7:15:47 AM12/19/14
to ang...@googlegroups.com
Hello 

I have problems with binding data. 

It is my code: 

<div ng-if="published == false">
        <button class="btn" ng-click="act0(id)">Edit</button>
        <button class="btn" ng-click="act1(id)">Public</button>
 </div>

When I refresh this page to this code show on moment. 
I know that is ng-bind, only but there is a problem with the service buttons

Is there a solution ?

Help me,
Adam 

Justin Walsh

unread,
Dec 20, 2014, 4:28:09 AM12/20/14
to ang...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages