Fix typo (lenght) in index controller
Update generated files with fix from 7698739
Merge pull request #573 from andrewfhart/fix-blocks-length

Fix $scope.blocksLength assignment in index controller
Change deprecated value "changeLanguage" by "changeLocale"
display languages if available