added angular directives for fullscreen and scale