First step is to install the necessary package either by using bower with "bower install angular-elastic" or npm with "npm install angular-elastic;"
Next, you'll need to import the elastic.js file into your index.html like this:
<script src="js/elastic.js" type="text/javascript"></script>
Then, inject it into your angular module as shown below:
angular.module('yourApp', ['monospaced.elastic']);
After that, in your html file within the footer-bar section, include the following code:
<ion-footer-bar style="height: auto; overflow: visible !important">
<textarea rows="1" msd-elastic ng-model="myMsg"></textarea>
</ion-footer-bar>