Multilingual App in Angularjs or in Ionic Framework

I am very new to both Angularjs and Ionic Framework. I coming from Microsoft background.

I am trying to make app in 3 languages (English, Arabic and French). As I told you that I am coming from Microsoft background I am thinking in .net way that for multilingual apps translation we use resource file and in our .net code as per language environment. As for example

http://www.codeproject.com/Tips/580043/How-to-make-a-multi-language-application-in-Csharp

Is there any way to do same thing Angularjs or Ionic Framework

Check out this post which gives me answer

http://forum.ionicframework.com/t/multilingual-app-in-angularjs-or-in-ionic-framework/15294

Something like this could help to load language from language files containing keys and values e.g en-US.json containing { "NAME": "Name", "EMAIL": "Email"} and afunction to load these

    // load message from language file on basis of file name 
function loadLanguage() {
    filePath = "en-US.json";
    var xmlhttp;
    if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
        xmlhttp = new XMLHttpRequest();
    }
    else {// code for IE6, IE5
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
    }
    xmlhttp.onreadystatechange = function () {
        if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
            eval('var objLang=' + xmlhttp.responseText);
            alert(objLang.EMAIL);                
        }
    }
    xmlhttp.open("GET", filePath, true);
    xmlhttp.send();
}