Commit 40d7121f authored by Patrick's avatar Patrick
Browse files

Check if the variable angular exists before using it

parent cb27a7e7
......@@ -48,7 +48,7 @@
'API': {}
};
var my_app = undefined;
if (angular) {
if( typeof angular != "undefined") {
my_app = angular.module('repanier', ['djng.forms']);
}
</script>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment