Reverted back and removed ng-curtain.