Removed deprecated option in jshint. Updated directive injection method.