Fixing unit test of TodosCtrlSpec.js