Miscellaneous Directives for angularJS