Update if.js

When I add only this module to my code without ", []", the following exception is thrown : "Uncaught Error: No module: ui.directives"