"use strict";

angular
	.module('app')
	.filter('toUpper',function(){
		return function(sString){
			var type = typeof sString;
			if(type !== 'number' && type !== 'string') throw new Error();
			
			return sString.toString().toUpperCase();
		};
	});