Manasi is right, you have to have a controller in order to access values from HTML.
Your HTML:
<div ng-if="cookievalue==1"> ... </div>
Your controller:
.controller('ExampleController', ['$scope', '$cookies', function($scope, $cookies) {
$scope.cookievalue = $cookies.get('mycookie');
}]);