Updating app logs with $log system, instead of raw console.log, and adding errorCallback on TileLayer MBTiles Plugin