Apply Directives on document ready
Method names refactor