/**
 * API Bound Models for AngularJS
 * @version v0.17.0 - 2014-08-25
 * @link https://github.com/angular-platanus/restmod
 * @author Ignacio Baixas <ignacio@platan.us>
 * @license MIT License, http://www.opensource.org/licenses/MIT
 */
!function(a,b){"use strict";a.module("restmod").factory("PagedModel",["restmod",function(a){return a.mixin({"@$pageHeader":"X-Page","@$pageCountHeader":"X-Page-Total","~afterFetchMany":function(a){var c=a.headers(this.$pageHeader),d=a.headers(this.$pageCountHeader);this.$page=c!==b?parseInt(c,10):1,this.$pageCount=d!==b?parseInt(d,10):1}})}])}(angular);